{extend name="public/layer/main" /}
{block name="css"}{/block}
{block name="style"}{/block}
{block name="js"}{/block}
{block name="script"}{/block}
{block name="module"}{$globals.module}{/block}
{block name="controller"}{$globals.controller}{/block}
{block name="action"}{$globals.action}{/block}
{block name="desc"}{$globals.desc}{/block}
{block name="content"}
<div class="box box-info">
	<div class="box-header with-border">
		<h3 class="box-title"></h3>
	</div>
	{notempty name="data"}
	<div class="box-body">
		<table class="table table-bordered table-striped">
			<tr>
				<td class="text-right col-sm-2">今日订单数</td>
				<td>{$data.today}</td>
			</tr>
			<tr>
				<td class="text-right col-sm-2">昨日订单数</td>
				<td>{$data.yesterday}</td>
			</tr>
			<tr>
				<td class="text-right col-sm-2">本周订单数</td>
				<td>{$data.week}</td>
			</tr>
			<tr>
				<td class="text-right col-sm-2">本月订单数</td>
				<td>{$data.month}</td>
			</tr>
			<tr>
				<td class="text-right col-sm-2">本年订单数</td>
				<td>{$data.year}</td>
			</tr>
		</table>
	</div>
	<div class="box-footer">
		<div class="col-sm-offset-2 col-sm-10">
			<button type="button" class="btn btn-default" rel-action="back">返回</button>
		</div>
	</div>
	{else /}
	<div class="box-body">
		<div class="alert alert-error alert-dismissible">
			<h4><i class="icon fa fa-warning"></i>暂无记录</h4>
			暂未查询到有效的数据
		</div>
	</div>
	{/notempty}
</div>
{/block}